package com.xo.mall.convert;

import com.xo.common.pojo.dto.CreateCategoryDto;
import com.xo.common.pojo.entity.PmsCategoryEntity;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface PmsCategoryConvert {
    PmsCategoryConvert INSTANCE = Mappers.getMapper(PmsCategoryConvert.class);

    PmsCategoryEntity CreateCategoryDtoToPmsCategoryEntity(CreateCategoryDto createCategoryDto);

}
